<template>
  <img class="avatar-container" alt="" :src="site" :style="{height:size+'px',width:size+'px'}"/>
</template>

<script>
export default {
  name: 'index',
  props: {
    site: {
      type: String,
      required: true
    },
    size: {
      type: Number,
      default: 50
    }
  }
}
</script>

<style scoped>
  .avatar-container{
    object-fit: cover;
    border-radius: 50%;
    display: block;
  }
</style>
